

import 'dart:convert';

import 'package:flutter_app/mod/address.dart';
import 'package:flutter_app/mod/student.dart';

main(){
  var jsonInfo = '{"name": "John Smith","email": "john@example.com"}';
  var studentInfo = '{"email": "john@example.com","name": "John Smith"}';
  var address = '{"address": "John Smith","email": "john@example.com","info": "John Smith","name": 1}';
  // var decode = json.decode(address);
  // var address2 = Address.fromJson(decode);
  // print(address2.address);
  var map = <String,String>{"name":"ta"};
  print(map["info"]);
}
